package ddb.tasktracker.intf.context.service;

import java.io.File;
import java.util.Map;

import util.lang.RefValue;

public interface IContextService {

	int getContextStatus();

	void setContextStatus(int contextStatus);

	String newTask(String name, String trackerName, String owner, Map<String, String> properties,
			RefValue<Integer> errorCode);

	boolean commitTask(String guid, RefValue<Integer> errorCode);

	File acquireTaskInputFileStore(String guid, boolean autoCreate);

	File acquireTaskOutputFileStore(String guid, boolean autoCreate);

}
